import Layout from '@/layout'

// 员工路由模块
export default {
  path: '/employees',
  component: Layout,
  children: [{
      path: '',
      name: 'Employees',
      component: () =>
        import ('@/views/employees/index'),
      meta: { title: '员工', icon: 'people', permission: 'employees' }
    },
    {
      path: 'detail/:id',
      name: 'Detail',
      component: () =>
        import ('@/views/employees/detail'),
      meta: { title: '员工详情' },
      hidden: true
    },
    {
      path: 'import',
      name: 'Import',
      component: () =>
        import ('@/views/import/index'),
      meta: { title: 'Excel导入' },
      hidden: true
    }
  ]
}
